<?php
namespace ucenter\client\controllers;

use Yii;
use common\forms\LoginForm;


/**
 * 用户控制器
 */
class SiteController extends BaseController
{
    /**
     * {@inheritdoc}
     */
    public function actionError(){
        return [
            'name' => $this->getExceptionName(),
            'message' => $this->getExceptionMessage(),
            'exception' => $this->exception,
        ];
    }

    /**
     * 平台首页.
     *
     * @return string
     */
    public function actionIndex()
    {
        return "平台管理";
    }
}
